Skip to content

refactor: resource loader #968

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 30, 2017
Merged

Conversation

sis0k0
Copy link
Contributor

@sis0k0 sis0k0 commented Aug 30, 2017

  • makes resolveRelativeUrls private method of NSFileSystem
  • extracts fallback resolution to a private method
  • makes ns-file-system use 4 spaces instead of 2
  • add test to assert that resource loader resolver throws for non-existing files that has no fallback resources either

@sis0k0 sis0k0 requested a review from vakrilov August 30, 2017 12:11
@ghost ghost assigned sis0k0 Aug 30, 2017
@ghost ghost added the in progress label Aug 30, 2017
@vakrilov vakrilov merged commit 409d189 into load-scss-fallbacks Aug 30, 2017
@vakrilov vakrilov deleted the vlaeva/pr-resource-loader branch August 30, 2017 12:27
@ghost ghost removed the in progress label Aug 30, 2017
vakrilov pushed a commit that referenced this pull request Aug 30, 2017
…e is found(#954) (#955)

* feat(styling): Allow loading .css files as a fallback if no .scss file is found(#954)

* Add tests

* refactor: resource loader (#968)

* chore(lint): use 4 spaces instead of 2 in ns-file-system

* refactor: resource loader

* test(xhr-paths): assert resource loader throws when resolving non-existing files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants